package edu.tongji.jiaowu.service.impl;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.ExternalExamStudentsDao;
import edu.tongji.jiaowu.service.ExternalExamStudentsManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class ExternalExamStudentsManagerImpl extends BaseManagerImpl implements ExternalExamStudentsManager {
	private ExternalExamStudentsDao externalExamStudentsDao;

	public CommonBean createExternalExamStudents() {
		return externalExamStudentsDao.createExternalExamStudents();
	}

	/*
	 public CommonBean findExternalExamStudentss(String refid) {
	 return externalExamStudentsDao.findExternalExamStudentss(refid);
	 }
	 */
	public CommonBean findExternalExamStudentsById(String id) {
		return externalExamStudentsDao.findExternalExamStudentsById(id);
	}

	public CommonBean findAllExternalExamStudentss() {
		return externalExamStudentsDao.findAllExternalExamStudentss();
	}

	public void insertExternalExamStudents(CommonBean externalExamStudentsBean) {
		externalExamStudentsDao.insertExternalExamStudents(externalExamStudentsBean);
	}

	public void updateExternalExamStudents(CommonBean externalExamStudentsBean) {
		externalExamStudentsDao.updateExternalExamStudents(externalExamStudentsBean);
	}

	public CommonBean findExternalExamStudentsByStudentNo(String studentNo, String year, String semester) {
		return externalExamStudentsDao.findExternalExamStudentsByStudentNo(studentNo, year, semester);
	}

	public void remove(String id) {
		externalExamStudentsDao.remove(id);
	}

	public ExternalExamStudentsDao getExternalExamStudentsDao() {
		return externalExamStudentsDao;
	}

	public void setExternalExamStudentsDao(ExternalExamStudentsDao externalExamStudentsDao) {
		this.externalExamStudentsDao = externalExamStudentsDao;
	}

	public List entryDepartments(String currentYear, String currentSemester, String currentType) {
		return externalExamStudentsDao.entryDepartments(currentYear,currentSemester,currentType);
	}

	public List entryMajors(String currentYear, String currentSemester, String currentType, String currentDepartment) {
		return externalExamStudentsDao.entryMajors(currentYear,currentSemester,currentType,currentDepartment);
	}

	public List statisticsDestail(String currentYear, String currentSemester, String currentType, String currentDepartment, String currentMajor) {
		return externalExamStudentsDao.statisticsDestail(currentYear,currentSemester,currentType,currentDepartment,currentMajor);
	}

	public List findStudentList(String year, String semester, String examType) {
		List studentNoList= externalExamStudentsDao.findStudentList(year, semester, examType);
		return studentNoList;
	}

}
